<?php include_partial('filtro', array('formulario'=>$formulario)) ?>


<div class="demo">

<p>Date: <input id="datepicker" type="text"></p>

</div>

<script type="text/javascript">
    $(function() {
        $("#datepicker").datepicker({
            changeYear:true,
            changeMonth:true,
            changeFirstDay: false,
            firstDay:1,
            defaultDate: 
            //closeAtTop: true,
            //showOtherMonths: true,
            //showStatus: true,
            //showWeeks: true,
            //duration: "fast"
            
        });
    });
</script>



<h1>Reserva2 List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Fecha</th>
      <th>Personal</th>
      <th>Hora</th>
      <th>Sucursal</th>
      <th>Paciente</th>
      <th>Tipoasistencia</th>
      <th>Confirmado</th>
      <th>Recepcionado</th>
      <th>Observacion</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($gestdent_reserva2_list as $gestdent_reserva2): ?>
    <tr>
      <td><a href="<?php echo url_for('reserva2/show?id='.$gestdent_reserva2->getId()) ?>"><?php echo $gestdent_reserva2->getId() ?></a></td>
      <td><?php echo $gestdent_reserva2->getFecha('d-m-Y') ?></td>
      <td><?php echo $gestdent_reserva2->getPersonal() ?></td>
      <td><?php echo $gestdent_reserva2->getHora() ?></td>
      <td><?php echo $gestdent_reserva2->getSucursal() ?></td>
      <td><?php echo $gestdent_reserva2->getPaciente() ?></td>
      <td><?php echo $gestdent_reserva2->getTipoasistencia() ?></td>
      <td><?php echo $gestdent_reserva2->getConfirmado() ?></td>
      <td><?php echo $gestdent_reserva2->getRecepcionado() ?></td>
      <td><?php echo $gestdent_reserva2->getObservacion() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('reserva2/new') ?>">New</a>
